import Popups from "./popups";
const files = require.context("./", true, /index\.vue$/);
const modules = {};

files.keys().forEach((key) => {
  const com = files(key).default;
  if (com.name) modules[com.name] = new Popups(com);
});

export default modules;
